import request from '@/utils/request'

export function getSubjectClass(name,classId,schoolno,current,size) {
  return request.get("/class-subject/list",{params:{name,classId,schoolno,current,size}})
}
export function del(ids) {
  return request.post("/class-subject/del",ids)
}
export function update(classSubjectDto) {
  return request.post("/class-subject/update",classSubjectDto)
}
export function save(classSubjectDto) {
  return request.post("/class-subject/save",classSubjectDto)
}
// export function upload(excel) {
//   return request.post("/class-subject/upload",excel,{headers:{'Content-type': 'multipart/form-data'}})
// }
export function listSubjectName() {
  return request.get("/class-subject/listSubjectName")
}
export function getClassList() {
  return request.get("/class/listAll")
}
export function listTeacher() {
  return request.get("/class-subject/listTeacher")
}

